package com.cqc.customdialog01;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

/**
 * Created by ${cqc} on 2017/6/20.
 */

public class BaseActivity extends AppCompatActivity {

    private ProgressDialogUtil dialogUtil;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        dialogUtil = ProgressDialogUtil.getInstance(this);
    }

    public void dismissProgress() {
        dialogUtil.dismissProgressDialog();
    }

    public void showProgress() {
        dialogUtil.showProgressDialog();
    }

}
